#include "afxstd.h"
#include "Runtime.h"
#include "MainFrame.h"
#include "wxSceneTool.h"
#include "wxSceneCanvasBase.h"
#include "wxSceneCanvasGL.h"
#include "wxSceneCanvas.h"
#include "wxSceneView.h"
#include "wxSceneTool.h"
#include <osgdb/ReadFile>
#include <osg/PositionAttitudeTransform>
#include <osg/Texture2D>
#include <osg/State>
#include <string>
#include <wx/notebook.h>
#include <wx/propgrid/propgrid.h>
#include <wx/propgrid/props.h>
using namespace std;
using namespace osg;
Runtime* MainFrame::GetRuntime()
{
	return this->pRuntime;
}
void MainFrame::OnPointClicked(wxCommandEvent &e)
{
    wxSceneTool* aTool=new wxSceneTool();
	aTool->OnCreate(this->pRuntime);
	aTool->Execute();
}